let { token } = require("./token_schema.js");
module.exports = {
    deleteToken:function(req,res,err){
        let user = req.query.user;
        token.deleteOne({user}).then((data)=>{
            // console.log(data,"删除token");
            res.send(true);
        })
    }
}